Fix Tramp parser
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 7 Jul 2024 17:34:37 +0000 (19:34 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 7 Jul 2024 17:34:37 +0000 (19:34 +0200)
commitf4c0459ed3edce33329744f60a0e389c20dc60a5
treec273f6efa31e1a1d4bea5ac317427ed2eae58eb0
parent47c79b62dd04e9ec585354b35e0ef3b3e8c2878d
Fix Tramp parser

* lisp/net/tramp.el (tramp-host-with-port-regexp): Declare.
(tramp-set-syntax): Set also `tramp-host-with-port-regexp'.
(tramp-build-host-with-port-regexp): New defun.
(tramp-host-with-port-regexp): Make it a defvar.  (Bug#71972)

* test/lisp/net/tramp-tests.el (tramp-test01-file-name-syntax)
(tramp-test01-file-name-syntax-simplified)
(tramp-test01-file-name-syntax-separate): Adapt tests.
lisp/net/tramp.el
test/lisp/net/tramp-tests.el